package com.ibeetl.admin.core.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;

import com.ibeetl.admin.core.util.ValidateConfig;

import org.beetl.sql.core.TailBean;
import java.math.*;

import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;

import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.Version;
import org.beetl.sql.core.annotatoin.LogicDelete;


/* 
* 中国行政地区表
* gen by Spring Boot2 Admin 2020-02-17
*/
public class CoreArea extends BaseEntity{

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID	

    private Long id ;
	
    //层级

    private Integer level ;
	
    //父级行政代码

    private Long parentCode ;
	
    //行政代码

    private Long areaCode ;
	
    //邮政编码

    private Integer zipCode ;
	
    //区号

    private String cityCode ;
	
    //名称

    private String name ;
	
    //简称

    private String shortName ;
	
    //组合名

    private String mergerName ;
	
    //拼音

    private String pinyin ;
	
    //经度

    private BigDecimal lng ;
	
    //纬度

    private BigDecimal lat ;
    
    //排序
    private Integer seq;
	
    public CoreArea(){
    }

    public Long getId(){
        return  id;
    }
    public void setId(Long id){
        this.id = id;
    }

    /**层级
    *@return 
    */
    public Integer getLevel(){
        return  level;
    }
    /**层级
    *@param  level
    */
    public void setLevel(Integer level){
        this.level = level;
    }

    /**父级行政代码
    *@return 
    */
    public Long getParentCode(){
        return  parentCode;
    }
    /**父级行政代码
    *@param  parentCode
    */
    public void setParentCode(Long parentCode){
        this.parentCode = parentCode;
    }

    /**行政代码
    *@return 
    */
    public Long getAreaCode(){
        return  areaCode;
    }
    /**行政代码
    *@param  areaCode
    */
    public void setAreaCode(Long areaCode){
        this.areaCode = areaCode;
    }

    /**邮政编码
    *@return 
    */
    public Integer getZipCode(){
        return  zipCode;
    }
    /**邮政编码
    *@param  zipCode
    */
    public void setZipCode(Integer zipCode){
        this.zipCode = zipCode;
    }

    /**区号
    *@return 
    */
    public String getCityCode(){
        return  cityCode;
    }
    /**区号
    *@param  cityCode
    */
    public void setCityCode(String cityCode){
        this.cityCode = cityCode;
    }

    /**名称
    *@return 
    */
    public String getName(){
        return  name;
    }
    /**名称
    *@param  name
    */
    public void setName(String name){
        this.name = name;
    }

    /**简称
    *@return 
    */
    public String getShortName(){
        return  shortName;
    }
    /**简称
    *@param  shortName
    */
    public void setShortName(String shortName){
        this.shortName = shortName;
    }

    /**组合名
    *@return 
    */
    public String getMergerName(){
        return  mergerName;
    }
    /**组合名
    *@param  mergerName
    */
    public void setMergerName(String mergerName){
        this.mergerName = mergerName;
    }

    /**拼音
    *@return 
    */
    public String getPinyin(){
        return  pinyin;
    }
    /**拼音
    *@param  pinyin
    */
    public void setPinyin(String pinyin){
        this.pinyin = pinyin;
    }

    /**经度
    *@return 
    */
    public BigDecimal getLng(){
        return  lng;
    }
    /**经度
    *@param  lng
    */
    public void setLng(BigDecimal lng){
        this.lng = lng;
    }

    /**纬度
    *@return 
    */
    public BigDecimal getLat(){
        return  lat;
    }
    /**纬度
    *@param  lat
    */
    public void setLat(BigDecimal lat){
        this.lat = lat;
    }

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}


}
